package top.aicats.pattern.prototype.CircleProtocol;

public abstract class Shape implements Cloneable {
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    private String id;
    abstract  void draw();

    public Object clone() {
        Object clone = null;
        try {
            clone = super.clone();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return clone;
    }
}
